package com.chaobl.user.user.entity;

import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 小程序用户主表
 * </p>
 *
 * @author jobob
 * @since 2020-04-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class XcxUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 小程序用户的openid
     */
    @TableField("openId")
    private String openId;

    /**
     * 昵称
     */
    @TableField("nickName")
    private String nickName;

    /**
     * 头像
     */
    @TableField("avatarUrl")
    private String avatarUrl;

    @TableField("realName")
    private String realName;

    private String mobile;

    @TableField("enterpriseId")
    private Integer enterpriseId;

    @TableField("shopId")
    private Integer shopId;

    @TableField("createTime")
    private LocalDateTime createTime;

    @TableField("updateTime")
    private LocalDateTime updateTime;


}
